import request from '@/utils/request'
export function getAllUserByPage(page, size) {
  return request({
    url: '/api/admin/getAllUserByPage',
    method: 'get',
    params: { page: page, size: size }
  })
}
export function getAllRoleMenuByPage(page, size) {
  return request({
    url: '/api/admin/getAllRoleMenuByPage',
    method: 'get',
    params: { page: page, size: size }
  })
}
export function deleteRolesMenuById(id) {
  return request({
    url: '/api/admin/deleteRolesMenuById',
    method: 'post',
    params: { id: id }
  })
}
